<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<!-- saved from url=(0058)https://login.yiguo.com/Register?url=http://www.yiguo.com/ -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>我的移动</title>
    <link href="js/bootstrap/bootstrap.min.css" rel="stylesheet">
    
    <link rel="shortcut icon" href="<%=request.getContextPath() %>/image/92x36x2.png">
    
    <script type="text/javascript" async="" src="regfile/collect.js"></script>
    <script type="text/javascript" async="" src="regfile/dc.js"></script>
    <script type="text/javascript" async="" src="regfile/vds.js"></script>
    <script type="text/javascript" async="" src="regfile/adw.js"></script>
    <script src="regfile/tm.js" async=""></script>
    <script src="regfile/jquery.js"></script>

    <link href="regfile/public.css" rel="stylesheet">

    
    <link href="regfile/themes.css" rel="stylesheet">

    <script src="regfile/tab.js"></script>

    <script src="regfile/FormValidate.js"></script>

  
    
 <script src="regfile/topdsp.js"></script>
  
  
  		
  		
</head>

 

<body id="body">
   

        <!------- 顶部工具栏结束 ------->
        <script src="regfile/Reg.js"></script>

<link href="regfile/register.css" rel="stylesheet">
 <script src="<%=request.getContextPath() %>/js/jquery-1.8.2.min.js"></script>




<script type="text/javascript">
	
	function btn(){
		
  				
  				$.ajax({
  	  				url:"<%=request.getContextPath()%>/add_user.do",
  	  				type:"post",
  	  				data:$("#fm1").serialize(),
  	  				dataType:"json",
  	  				success:function(data){
  	  					
  	  					alert(data)
  	  					location.href = "<%=request.getContextPath()%>/index.jsp";
  	  				}
  	  			})
  			
	}
</script>
	<div>
		
			<h1 align="center">完善客户资料</h1>   
		
	</div>
              <div style="padding: 50px 0 10px 200px;">
			   <form class="bs-example bs-example-form" role="form" id="fm1">
			      <div class="input-group input-group-lg">
			         <span class="input-group-addon">用户名</span>
			         <input type="text" name="loginName" class="form-control" style="width: 320px" value="${name}" >
			      </div><br>
			      
			      <div class="input-group input-group-lg">
			         <span class="input-group-addon">用户名</span>
			         <input type="password" name="password" class="form-control" style="width: 320px"  placeholder="请输入密码">
			      </div><br>
			
			      <div class="input-group input-group-lg">
			         <span class="input-group-addon">手机号</span>
			         <input type="text" name="phone" class="form-control"  style="width: 320px" placeholder="请输入手机号">
			      </div><br>
			
			     <div class="input-group input-group-lg">
			         <span class="input-group-addon">邮箱</span>
			         <input type="text" name="mail" class="form-control"  style="width: 320px" placeholder="请输入邮箱">
			         <input type="hidden" name="social_uid" value="${uid}" />
			         <input type="hidden" name="social_uid" value="${social_uid}" />
			      </div><br>
			      <button type="button" style="width: 400px;height: 50px" class="btn btn-success" onclick="btn()">成功按钮</button>
			   </form>
			</div>
                     
    

